package com.ruoyi.suggestion.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【平台建议】对象 suggestion
 *
 * @author ruoyi
 * @date 2025-07-02
 */
@ApiModel(description = "平台建议实体")
public class Suggestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 平台建议id */
    @ApiModelProperty(value = "平台建议id", example = "平台建议id")
    private Long id;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @ApiModelProperty(value = "联系方式", example = "联系方式")
    private String phone;

    /** 问题描述 */
    @Excel(name = "问题描述")
    @ApiModelProperty(value = "问题描述", example = "问题描述")
    private String content;

    /** 图片 */
    @Excel(name = "图片")
    @ApiModelProperty(value = "图片", example = "图片")
    private String image;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id", example = "用户id")
    private String userId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("phone", getPhone())
                .append("content", getContent())
                .append("image", getImage())
                .append("userId", getUserId())
                .append("createTime", getCreateTime())
                .toString();
    }
}
